import http from "@/common/http.js"
// 登录
export const login = (url,method, data) => {
	return http({
		url: '/api/user/wx_login' + url
		// url: '/api/wx/login' + url
	}, method,data)
}

export const precheck = (url,method, data) => {
	return http({
		url: '/api/wx' + url
	}, method,data)
}

// 用户信息
export const synchroUserinfo = (url,method, data) => {
	return http({
		url: '/api/power' + url
	}, method,data)
}
// 设备列表
export const listAdvertisementsOnMobile = (url,method, data) => {
	return http({
		url: '/api/advertisement' + url
	}, method,data)
}